namespace SumerCoreDevOps.Shared.Models.Messages;

/// <summary>
/// 心跳消息
/// </summary>
public class HeartbeatMessage
{
    /// <summary>
    /// 节点ID
    /// </summary>
    public long NodeId { get; set; }

    /// <summary>
    /// 当前正在执行的任务数
    /// </summary>
    public int RunningTaskCount { get; set; }

    /// <summary>
    /// CPU 使用率 (0-100)
    /// </summary>
    public double CpuUsage { get; set; }

    /// <summary>
    /// 内存使用率 (0-100)
    /// </summary>
    public double MemoryUsage { get; set; }

    /// <summary>
    /// 可用磁盘空间（MB）
    /// </summary>
    public long AvailableDiskSpaceMB { get; set; }
}
